body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
  'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f0f2f5;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
  monospace;
}

/* 自定义样式 */
.ant-layout {
  background: #f0f2f5;
}

.ant-layout-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ant-card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ant-btn {
  border-radius: 6px;
}

.ant-input, .ant-input-password {
  border-radius: 6px;
}

.ant-select-selector {
  border-radius: 6px !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .ant-layout-sider {
    position: fixed !important;
    height: 100vh;
    left: -200px;
    z-index: 999;
    transition: left 0.3s;
  }

  .ant-layout-sider.mobile-open {
    left: 0;
  }

  .ant-layout-content {
    margin-left: 0 !important;
  }
}

/* 加载动画 */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

/* 空状态样式 */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

.empty-state img {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
}

/* 任务卡片样式 */
.task-card {
  margin-bottom: 16px;
  transition: all 0.3s;
}

.task-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* 步骤列表样式 */
.step-item {
  padding: 12px;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: all 0.3s;
}

.step-item:hover {
  border-color: #1890ff;
  background-color: #f6ffed;
}

.step-item.completed {
  background-color: #f6ffed;
  border-color: #52c41a;
}

/* AI生成器样式 */
.ai-generator {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  padding: 20px;
}

.ai-generator .ant-card-head-title {
  color: white;
}

/* 进度条样式 */
.custom-progress .ant-progress-text {
  color: #1890ff !important;
  font-weight: 500;
}

/* 标签样式 */
.priority-high {
  background-color: #ff4d4f;
  border-color: #ff4d4f;
}

.priority-medium {
  background-color: #faad14;
  border-color: #faad14;
}

.priority-low {
  background-color: #52c41a;
  border-color: #52c41a;
}

/* 复盘表单样式 */
.review-form .ant-rate {
  font-size: 24px;
}

.review-display h4 {
  color: #1890ff;
  margin-bottom: 8px;
  font-weight: 600;
}

.review-display p {
  margin-bottom: 16px;
  line-height: 1.6;
}
